package org.jeecg.modules.zcgl.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.zcgl.entity.AssetFixedMaintenance;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.zcgl.vo.statistical.AssetMaintenanceVo;
import org.jeecg.modules.zcgl.vo.statistical.AssetScrapVo;

/**
 * @Description: 固定资产维修报废
 * @Author: jeecg-boot
 * @Date: 2021-07-02
 * @Version: V1.0
 */
public interface AssetFixedMaintenanceMapper extends BaseMapper<AssetFixedMaintenance> {

    /**
     * 固定资产维修
     *
     * @param page
     * @param queryWrapper
     * @return
     */
    IPage<AssetMaintenanceVo> queryAssetFixedMaintenancePageList(Page<AssetMaintenanceVo> page, @Param("ew") QueryWrapper<AssetMaintenanceVo> queryWrapper);

    /**
     * 固定资产报废
     *
     * @param page
     * @param queryWrapper
     * @return
     */
    IPage<AssetScrapVo> queryAssetFixedScrapPageList(Page<AssetScrapVo> page, @Param("ew") QueryWrapper<AssetScrapVo> queryWrapper);

}
